//
//  HZLNavigationBar.h
//  HZLRead
//
//  Created by SDMac on 2019/11/28.
//  Copyright © 2019 盛世大联. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HZLNavigationBar : UIImageView

@property (nonatomic, copy) NSString *title;

/** 设置左侧按钮 */
- (UIButton*)setLeftButtonWithTitle:(NSString*)title action:(SEL)action target:(nullable id)target;
/** 设置左侧按钮 */
- (UIButton*)setLeftButtonWithImageName:(NSString*)imageName action:(SEL)action target:(nullable id)target;
/** 设置右侧按钮 */
- (UIButton*)setRightButtonWithTitle:(NSString*)title action:(SEL)action target:(nullable id)target;
/** 设置右侧按钮 */
- (UIButton*)setRightButtonWithImageName:(NSString*)imageName action:(SEL)action target:(nullable id)target;

@end
